:root {
  /* colors */
  --sg-color-white: #ffffff;
  --sg-color-black: #000000;
  --colors: (primary: #409eff, success: #67c23a, warning: #e6a23c, danger: #f56c6c, info: #909399);
  /* @each $val, $color in var(--colors) {
    --sg-colr-$(val): $(color);
    @for $i from 3 to 9 by 2 {
      --sg-color-$(val)-light-$(i): mix(#fff, $(color), .$(i));
    }
    --sg-color-$(val)-light-8: mix(#fff, $(color), 0.8);
    --sg-color-$(val)-dark-2: mix(#000, $(color), 0.2);
  } */
  @each $val, $color in (primary, success, warning, danger, info),
    (#409eff, #67c23a, #e6a23c, #f56c6c, #909399) {
    --sg-color-$(val): $(color);
    @for $i from 3 to 9 by 2 {
      --sg-color-$(val)-light-$(i): mix(#fff, $(color), .$(i));
    }
    --sg-color-$(val)-light-8: mix(#fff, $(color), 0.8);
    --sg-color-$(val)-dark-2: mix(#000, $(color), 0.2);
  }

  @each $val, $color in (primary, success, warning, danger, info),
    (#abdcff, #f0f9eb, #fdf6ec, #fef0f0, #f5f4f4) {
    --sg-color-$(val)-light-1: $color;
  }

  --sg-bg-color: #ffffff;
  --sg-bg-color-page: #f2f3f5;
  --sg-bg-color-overlay: #ffffff;
  --sg-text-color-primary: #303133;
  --sg-text-color-regular: #606266;
  --sg-text-color-secondary: #909399;
  --sg-text-color-placeholder: #a8abb2;
  --sg-text-color-disabled: #c0c4cc;
  --sg-border-color: #dcdfe6;
  --sg-border-color-light: #e4e7ed;
  --sg-border-color-lighter: #ebeef5;
  --sg-border-color-extra-light: #f2f6fc;
  --sg-border-color-dark: #d4d7de;
  --sg-border-color-darker: #cdd0d6;
  --sg-fill-color: #f0f2f5;
  --sg-fill-color-light: #f5f7fa;
  --sg-fill-color-lighter: #fafafa;
  --sg-fill-color-extra-light: #fafcff;
  --sg-fill-color-dark: #ebedf0;
  --sg-fill-color-darker: #e6e8eb;
  --sg-fill-color-blank: #ffffff;

  /* border */
  --sg-border-width: 1px;
  --sg-border-style: solid;
  --sg-border-color-hover: var(--sg-text-color-disabled);
  --sg-border: var(--sg-border-width) var(--sg-border-style) var(--sg-border-color);
  --sg-border-radius-base: 4px;
  --sg-border-radius-small: 2px;
  --sg-border-radius-round: 20px;
  --sg-border-radius-round-circle: 50%;
  --sg-border-radius-circle: 100%;

  /*font*/
  --sg-font-size-extra-large: 20px;
  --sg-font-size-large: 18px;
  --sg-font-size-medium: 16px;
  --sg-font-size-base: 14px;
  --sg-font-size-small: 13px;
  --sg-font-size-extra-small: 12px;
  --sg-font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', '\5fae\8f6f\96c5\9ed1', Arial, sans-serif;
  --sg-font-weight-primary: 500;

  /*disabled*/
  --sg-disabled-bg-color: var(--sg-fill-color-light);
  --sg-disabled-text-color: var(--sg-text-color-placeholder);
  --sg-disabled-border-color: var(--sg-border-color-light);

  /*animation*/
  --sg-transition-duration: 0.3s;
  --sg-transition-duration-fast: 0.2s;
}
